\version "2.24.3"

#(set-default-paper-size '(cons (* 210 mm) (* 5000 mm)))

\header {
  tagline = #f
}

gtrOne = \relative {
  \time 4/4
  \key gis \minor
  \tempo 4 = 180
  \newSpacingSection
  \override Score.SpacingSpanner.spacing-increment = #0.1
  \partial 256 s256 | \bar "||"
  \newSpacingSection
  \revert Score.SpacingSpanner.spacing-increment
  r4\sp^\markup { \italic { distortion off } } dis'4 cis2~ |
  cis1 |
  gis8 gis r e e2~ |
  e1~ |
  e4 dis' cis2~ |
  cis1 |
  gis8 gis r e e2 |
  dis'8\mf^\markup { \italic { distortion on } } dis r cis cis cis r4 |
  gis8 gis r e e e r4 |
  dis'8 dis r cis cis4 r |
  gis8 gis r e e e r4 |
  dis'8 dis r cis cis cis r4 |
  gis8 gis r e e e r4 |
  dis'8 dis r cis cis4 r |
  gis8 gis r e \afterGrace e2\glissando { \hideNotes ais16 } \unHideNotes |
  \bar "||"
}

gtrTwo = \relative {
  \time 4/4
  \key gis \minor
  \partial 256 s256 |
  r4\sp^\markup { \italic { distortion off } } b4 gis2~ |
  gis1 |
  fis'8 fis r dis dis2~ |
  dis1~ |
  dis4 b gis2~ |
  gis1 |
  e'8 e r cis cis2 |
  b8\mf^\markup { \italic { distortion on } } b r gis16 gis gis8 gis r4 |
  e'16 e e8 r cis16 cis cis2 |
  b8 b r gis16 gis gis8 gis r4 |
  e'8 e r cis cis2 |
  b8 b r gis16 gis gis8 gis r4 |
  e'16 e e8 r cis16 cis cis2 |
  b8 b r gis16 gis gis8 gis r4 |
  e'8 e r cis8 \afterGrace cis2\glissando { \hideNotes gis16 } \unHideNotes |
}

bass = \relative {
  \time 4/4
  \key gis \minor
  \partial 256 s256 |
  R1*7 |
  gis,8\mf 4 cis,8 2 |
  e8 4 fis8 2 |
  gis8 4 cis,8 2 |
  e8 4 fis8 2 |
  gis8 4 cis,8 2 |
  e8 4 dis8 2 |
  R1*2 |
}

kitOne = \drummode {
  \time 4/4
  \partial 256 s256 |
  R1*7 |
  cymc2 sn16-> 16 16 16 16-> 16 16 16 |
  cymr2 sn16-> 16 16 16 16-> 16 16 16 |
  \repeat percent 2 {
    cymc2 sn16-> 16 16 16 16 16 16 16 |
    cymr2 sn16-> 16 16 16 16 16 16 16 |
  }
  cymc4\breathe r4 r2 |
  R1 |
}

kitTwo = \drummode {
  \time 4/4
  \partial 256 s256 |
  s1*7 |
  bd8\mf 4 8 r2 |
  bd8 4 8 r2 |
  \repeat percent 2 {
    bd4. bd8 r2 |
    bd4. bd8 r2 |
  }
  bd4 r4 r2 |
  s1 |
}

fullScore = <<
  \new Staff \with {
    midiInstrument = "electric guitar (clean)"
    midiPanPosition = #-1.0
  } {
    \clef "treble_8"
    \gtrOne
  }

  \new Staff \with {
    midiInstrument = "electric guitar (jazz)"
    midiPanPosition = #1.0
  } {
    \clef "treble_8"
    \gtrTwo
  }

  \new Staff \with {
    midiInstrument = "electric bass (pick)"
    midiPanPosition = #0.0
  } {
    \clef "bass_8"
    \bass
  }

  \tag #'folded {
    \new DrumStaff \with { drumStyleTable = #weinberg-drums-style } <<
      \new DrumVoice { \voiceOne \kitOne }
      \new DrumVoice { \voiceTwo \kitTwo }
    >>
  }
  \tag #'unfolded {
    \new DrumStaff \with { drumStyleTable = #weinberg-drums-style } <<
      \new DrumVoice { \unfoldRepeats { \voiceOne \kitOne } }
      \new DrumVoice { \unfoldRepeats { \voiceTwo \kitTwo } }
    >>
  }
>>

\score {
  \removeWithTag #'unfolded
  \fullScore

  \layout {
    indent = 0

    \context {
      \Score
      \override Glissando.minimum-length = #4
      \override Glissando.springs-and-rods = #ly:spanner::set-spacing-rods
      \override Glissando.thickness = #2
      \omit StringNumber
    }
  }
}

\score {
  \removeWithTag #'folded
  \fullScore

  \midi { }
}
